<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>LCOV - code analysis - /usr/include/stdlib.h</title>
  <link rel="stylesheet" type="text/css" href="../../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LCOV - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
          <tr>
            <td width="10%" class="headerItem">Current view:</td>
            <td width="35%" class="headerValue"><a href="../../index.html">top level</a> - <a href="index.html">usr/include</a> - stdlib.h<span style="font-size: 80%;"> (source / <a href="stdlib.h.func-sort-c.html">functions</a>)</span></td>
            <td width="5%"></td>
            <td width="15%"></td>
            <td width="10%" class="headerCovTableHead">Hit</td>
            <td width="10%" class="headerCovTableHead">Total</td>
            <td width="15%" class="headerCovTableHead">Coverage</td>
          </tr>
          <tr>
            <td class="headerItem">Test:</td>
            <td class="headerValue">code analysis</td>
            <td></td>
            <td class="headerItem">Lines:</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">1</td>
            <td class="headerCovTableEntryLo">0.0 %</td>
          </tr>
          <tr>
            <td class="headerItem">Date:</td>
            <td class="headerValue">2020-09-11 22:50:33</td>
            <td></td>
            <td class="headerItem">Functions:</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntry">0</td>
            <td class="headerCovTableEntryHi">-</td>
          </tr>
          <tr>
            <td class="headerItem">Legend:</td>
            <td class="headerValueLeg">            Lines:
            <span class="coverLegendCov">hit</span>
            <span class="coverLegendNoCov">not hit</span>
</td>
            <td></td>
          </tr>
          <tr><td><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
        </table>
      </td>
    </tr>

    <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td>
<pre class="sourceHeading">          Line data    Source code</pre>
<pre class="source">
<a name="1"><span class="lineNum">       1 </span>            : /* Copyright (C) 1991-2016 Free Software Foundation, Inc.</a>
<span class="lineNum">       2 </span>            :    This file is part of the GNU C Library.
<span class="lineNum">       3 </span>            : 
<span class="lineNum">       4 </span>            :    The GNU C Library is free software; you can redistribute it and/or
<span class="lineNum">       5 </span>            :    modify it under the terms of the GNU Lesser General Public
<span class="lineNum">       6 </span>            :    License as published by the Free Software Foundation; either
<span class="lineNum">       7 </span>            :    version 2.1 of the License, or (at your option) any later version.
<span class="lineNum">       8 </span>            : 
<span class="lineNum">       9 </span>            :    The GNU C Library is distributed in the hope that it will be useful,
<span class="lineNum">      10 </span>            :    but WITHOUT ANY WARRANTY; without even the implied warranty of
<span class="lineNum">      11 </span>            :    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
<span class="lineNum">      12 </span>            :    Lesser General Public License for more details.
<span class="lineNum">      13 </span>            : 
<span class="lineNum">      14 </span>            :    You should have received a copy of the GNU Lesser General Public
<span class="lineNum">      15 </span>            :    License along with the GNU C Library; if not, see
<span class="lineNum">      16 </span>            :    &lt;http://www.gnu.org/licenses/&gt;.  */
<span class="lineNum">      17 </span>            : 
<span class="lineNum">      18 </span>            : /*
<span class="lineNum">      19 </span>            :  *      ISO C99 Standard: 7.20 General utilities        &lt;stdlib.h&gt;
<span class="lineNum">      20 </span>            :  */
<span class="lineNum">      21 </span>            : 
<span class="lineNum">      22 </span>            : #ifndef _STDLIB_H
<span class="lineNum">      23 </span>            : 
<span class="lineNum">      24 </span>            : #include &lt;features.h&gt;
<span class="lineNum">      25 </span>            : 
<span class="lineNum">      26 </span>            : /* Get size_t, wchar_t and NULL from &lt;stddef.h&gt;.  */
<span class="lineNum">      27 </span>            : #define         __need_size_t
<span class="lineNum">      28 </span>            : #ifndef __need_malloc_and_calloc
<span class="lineNum">      29 </span>            : # define        __need_wchar_t
<span class="lineNum">      30 </span>            : # define        __need_NULL
<span class="lineNum">      31 </span>            : #endif
<span class="lineNum">      32 </span>            : #include &lt;stddef.h&gt;
<span class="lineNum">      33 </span>            : 
<span class="lineNum">      34 </span>            : __BEGIN_DECLS
<span class="lineNum">      35 </span>            : 
<span class="lineNum">      36 </span>            : #ifndef __need_malloc_and_calloc
<span class="lineNum">      37 </span>            : #define _STDLIB_H       1
<span class="lineNum">      38 </span>            : 
<span class="lineNum">      39 </span>            : #if (defined __USE_XOPEN || defined __USE_XOPEN2K8) &amp;&amp; !defined _SYS_WAIT_H
<span class="lineNum">      40 </span>            : /* XPG requires a few symbols from &lt;sys/wait.h&gt; being defined.  */
<span class="lineNum">      41 </span>            : # include &lt;bits/waitflags.h&gt;
<span class="lineNum">      42 </span>            : # include &lt;bits/waitstatus.h&gt;
<span class="lineNum">      43 </span>            : 
<span class="lineNum">      44 </span>            : # ifdef __USE_MISC
<span class="lineNum">      45 </span>            : 
<span class="lineNum">      46 </span>            : /* Lots of hair to allow traditional BSD use of `union wait'
<span class="lineNum">      47 </span>            :    as well as POSIX.1 use of `int' for the status word.  */
<span class="lineNum">      48 </span>            : 
<span class="lineNum">      49 </span>            : #  if defined __GNUC__ &amp;&amp; !defined __cplusplus
<span class="lineNum">      50 </span>            : #   define __WAIT_INT(status) \
<span class="lineNum">      51 </span>            :   (__extension__ (((union { __typeof(status) __in; int __i; }) \
<span class="lineNum">      52 </span>            :                    { .__in = (status) }).__i))
<span class="lineNum">      53 </span>            : #  else
<span class="lineNum">      54 </span>            : #   define __WAIT_INT(status)   (*(int *) &amp;(status))
<span class="lineNum">      55 </span>            : #  endif
<span class="lineNum">      56 </span>            : 
<span class="lineNum">      57 </span>            : /* This is the type of the argument to `wait'.  The funky union
<span class="lineNum">      58 </span>            :    causes redeclarations with either `int *' or `union wait *' to be
<span class="lineNum">      59 </span>            :    allowed without complaint.  __WAIT_STATUS_DEFN is the type used in
<span class="lineNum">      60 </span>            :    the actual function definitions.  */
<span class="lineNum">      61 </span>            : 
<span class="lineNum">      62 </span>            : #  if !defined __GNUC__ || __GNUC__ &lt; 2 || defined __cplusplus
<span class="lineNum">      63 </span>            : #   define __WAIT_STATUS        void *
<span class="lineNum">      64 </span>            : #   define __WAIT_STATUS_DEFN   void *
<span class="lineNum">      65 </span>            : #  else
<span class="lineNum">      66 </span>            : /* This works in GCC 2.6.1 and later.  */
<span class="lineNum">      67 </span>            : typedef union
<span class="lineNum">      68 </span>            :   {
<span class="lineNum">      69 </span>            :     union wait *__uptr;
<span class="lineNum">      70 </span>            :     int *__iptr;
<span class="lineNum">      71 </span>            :   } __WAIT_STATUS __attribute__ ((__transparent_union__));
<span class="lineNum">      72 </span>            : #   define __WAIT_STATUS_DEFN   int *
<span class="lineNum">      73 </span>            : #  endif
<span class="lineNum">      74 </span>            : 
<span class="lineNum">      75 </span>            : # else /* Don't use misc.  */
<span class="lineNum">      76 </span>            : 
<span class="lineNum">      77 </span>            : #  define __WAIT_INT(status)    (status)
<span class="lineNum">      78 </span>            : #  define __WAIT_STATUS         int *
<span class="lineNum">      79 </span>            : #  define __WAIT_STATUS_DEFN    int *
<span class="lineNum">      80 </span>            : 
<span class="lineNum">      81 </span>            : # endif /* Use misc.  */
<span class="lineNum">      82 </span>            : 
<span class="lineNum">      83 </span>            : /* Define the macros &lt;sys/wait.h&gt; also would define this way.  */
<span class="lineNum">      84 </span>            : # define WEXITSTATUS(status)    __WEXITSTATUS (__WAIT_INT (status))
<span class="lineNum">      85 </span>            : # define WTERMSIG(status)       __WTERMSIG (__WAIT_INT (status))
<span class="lineNum">      86 </span>            : # define WSTOPSIG(status)       __WSTOPSIG (__WAIT_INT (status))
<span class="lineNum">      87 </span>            : # define WIFEXITED(status)      __WIFEXITED (__WAIT_INT (status))
<span class="lineNum">      88 </span>            : # define WIFSIGNALED(status)    __WIFSIGNALED (__WAIT_INT (status))
<span class="lineNum">      89 </span>            : # define WIFSTOPPED(status)     __WIFSTOPPED (__WAIT_INT (status))
<span class="lineNum">      90 </span>            : # ifdef __WIFCONTINUED
<span class="lineNum">      91 </span>            : #  define WIFCONTINUED(status)  __WIFCONTINUED (__WAIT_INT (status))
<span class="lineNum">      92 </span>            : # endif
<span class="lineNum">      93 </span>            : #endif  /* X/Open or XPG7 and &lt;sys/wait.h&gt; not included.  */
<span class="lineNum">      94 </span>            : 
<span class="lineNum">      95 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">      96 </span>            : /* Returned by `div'.  */
<span class="lineNum">      97 </span>            : typedef struct
<span class="lineNum">      98 </span>            :   {
<span class="lineNum">      99 </span>            :     int quot;                   /* Quotient.  */
<span class="lineNum">     100 </span>            :     int rem;                    /* Remainder.  */
<span class="lineNum">     101 </span>            :   } div_t;
<span class="lineNum">     102 </span>            : 
<span class="lineNum">     103 </span>            : /* Returned by `ldiv'.  */
<span class="lineNum">     104 </span>            : #ifndef __ldiv_t_defined
<span class="lineNum">     105 </span>            : typedef struct
<span class="lineNum">     106 </span>            :   {
<span class="lineNum">     107 </span>            :     long int quot;              /* Quotient.  */
<span class="lineNum">     108 </span>            :     long int rem;               /* Remainder.  */
<span class="lineNum">     109 </span>            :   } ldiv_t;
<span class="lineNum">     110 </span>            : # define __ldiv_t_defined       1
<span class="lineNum">     111 </span>            : #endif
<span class="lineNum">     112 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     113 </span>            : 
<span class="lineNum">     114 </span>            : #if defined __USE_ISOC99 &amp;&amp; !defined __lldiv_t_defined
<span class="lineNum">     115 </span>            : __BEGIN_NAMESPACE_C99
<span class="lineNum">     116 </span>            : /* Returned by `lldiv'.  */
<span class="lineNum">     117 </span>            : __extension__ typedef struct
<span class="lineNum">     118 </span>            :   {
<span class="lineNum">     119 </span>            :     long long int quot;         /* Quotient.  */
<span class="lineNum">     120 </span>            :     long long int rem;          /* Remainder.  */
<span class="lineNum">     121 </span>            :   } lldiv_t;
<span class="lineNum">     122 </span>            : # define __lldiv_t_defined      1
<span class="lineNum">     123 </span>            : __END_NAMESPACE_C99
<span class="lineNum">     124 </span>            : #endif
<span class="lineNum">     125 </span>            : 
<span class="lineNum">     126 </span>            : 
<span class="lineNum">     127 </span>            : /* The largest number rand will return (same as INT_MAX).  */
<span class="lineNum">     128 </span>            : #define RAND_MAX        2147483647
<span class="lineNum">     129 </span>            : 
<span class="lineNum">     130 </span>            : 
<span class="lineNum">     131 </span>            : /* We define these the same for all machines.
<span class="lineNum">     132 </span>            :    Changes from this to the outside world should be done in `_exit'.  */
<span class="lineNum">     133 </span>            : #define EXIT_FAILURE    1       /* Failing exit status.  */
<span class="lineNum">     134 </span>            : #define EXIT_SUCCESS    0       /* Successful exit status.  */
<span class="lineNum">     135 </span>            : 
<span class="lineNum">     136 </span>            : 
<span class="lineNum">     137 </span>            : /* Maximum length of a multibyte character in the current locale.  */
<span class="lineNum">     138 </span>            : #define MB_CUR_MAX      (__ctype_get_mb_cur_max ())
<span class="lineNum">     139 </span>            : extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
<span class="lineNum">     140 </span>            : 
<span class="lineNum">     141 </span>            : 
<span class="lineNum">     142 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     143 </span>            : /* Convert a string to a floating-point number.  */
<span class="lineNum">     144 </span>            : extern double atof (const char *__nptr)
<span class="lineNum">     145 </span>            :      __THROW __attribute_pure__ __nonnull ((1)) __wur;
<span class="lineNum">     146 </span>            : /* Convert a string to an integer.  */
<span class="lineNum">     147 </span>            : extern int atoi (const char *__nptr)
<span class="lineNum">     148 </span>            :      __THROW __attribute_pure__ __nonnull ((1)) __wur;
<span class="lineNum">     149 </span>            : /* Convert a string to a long integer.  */
<span class="lineNum">     150 </span>            : extern long int atol (const char *__nptr)
<span class="lineNum">     151 </span>            :      __THROW __attribute_pure__ __nonnull ((1)) __wur;
<span class="lineNum">     152 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     153 </span>            : 
<span class="lineNum">     154 </span>            : #ifdef __USE_ISOC99
<span class="lineNum">     155 </span>            : __BEGIN_NAMESPACE_C99
<span class="lineNum">     156 </span>            : /* Convert a string to a long long integer.  */
<span class="lineNum">     157 </span>            : __extension__ extern long long int atoll (const char *__nptr)
<span class="lineNum">     158 </span>            :      __THROW __attribute_pure__ __nonnull ((1)) __wur;
<span class="lineNum">     159 </span>            : __END_NAMESPACE_C99
<span class="lineNum">     160 </span>            : #endif
<span class="lineNum">     161 </span>            : 
<span class="lineNum">     162 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     163 </span>            : /* Convert a string to a floating-point number.  */
<span class="lineNum">     164 </span>            : extern double strtod (const char *__restrict __nptr,
<span class="lineNum">     165 </span>            :                       char **__restrict __endptr)
<span class="lineNum">     166 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     167 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     168 </span>            : 
<span class="lineNum">     169 </span>            : #ifdef  __USE_ISOC99
<span class="lineNum">     170 </span>            : __BEGIN_NAMESPACE_C99
<span class="lineNum">     171 </span>            : /* Likewise for `float' and `long double' sizes of floating-point numbers.  */
<span class="lineNum">     172 </span>            : extern float strtof (const char *__restrict __nptr,
<span class="lineNum">     173 </span>            :                      char **__restrict __endptr) __THROW __nonnull ((1));
<span class="lineNum">     174 </span>            : 
<span class="lineNum">     175 </span>            : extern long double strtold (const char *__restrict __nptr,
<span class="lineNum">     176 </span>            :                             char **__restrict __endptr)
<span class="lineNum">     177 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     178 </span>            : __END_NAMESPACE_C99
<span class="lineNum">     179 </span>            : #endif
<span class="lineNum">     180 </span>            : 
<span class="lineNum">     181 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     182 </span>            : /* Convert a string to a long integer.  */
<span class="lineNum">     183 </span>            : extern long int strtol (const char *__restrict __nptr,
<span class="lineNum">     184 </span>            :                         char **__restrict __endptr, int __base)
<span class="lineNum">     185 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     186 </span>            : /* Convert a string to an unsigned long integer.  */
<span class="lineNum">     187 </span>            : extern unsigned long int strtoul (const char *__restrict __nptr,
<span class="lineNum">     188 </span>            :                                   char **__restrict __endptr, int __base)
<span class="lineNum">     189 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     190 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     191 </span>            : 
<span class="lineNum">     192 </span>            : #ifdef __USE_MISC
<span class="lineNum">     193 </span>            : /* Convert a string to a quadword integer.  */
<span class="lineNum">     194 </span>            : __extension__
<span class="lineNum">     195 </span>            : extern long long int strtoq (const char *__restrict __nptr,
<span class="lineNum">     196 </span>            :                              char **__restrict __endptr, int __base)
<span class="lineNum">     197 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     198 </span>            : /* Convert a string to an unsigned quadword integer.  */
<span class="lineNum">     199 </span>            : __extension__
<span class="lineNum">     200 </span>            : extern unsigned long long int strtouq (const char *__restrict __nptr,
<span class="lineNum">     201 </span>            :                                        char **__restrict __endptr, int __base)
<span class="lineNum">     202 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     203 </span>            : #endif /* Use misc.  */
<span class="lineNum">     204 </span>            : 
<span class="lineNum">     205 </span>            : #ifdef __USE_ISOC99
<span class="lineNum">     206 </span>            : __BEGIN_NAMESPACE_C99
<span class="lineNum">     207 </span>            : /* Convert a string to a quadword integer.  */
<span class="lineNum">     208 </span>            : __extension__
<span class="lineNum">     209 </span>            : extern long long int strtoll (const char *__restrict __nptr,
<span class="lineNum">     210 </span>            :                               char **__restrict __endptr, int __base)
<span class="lineNum">     211 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     212 </span>            : /* Convert a string to an unsigned quadword integer.  */
<span class="lineNum">     213 </span>            : __extension__
<span class="lineNum">     214 </span>            : extern unsigned long long int strtoull (const char *__restrict __nptr,
<span class="lineNum">     215 </span>            :                                         char **__restrict __endptr, int __base)
<span class="lineNum">     216 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     217 </span>            : __END_NAMESPACE_C99
<span class="lineNum">     218 </span>            : #endif /* ISO C99 or use MISC.  */
<span class="lineNum">     219 </span>            : 
<span class="lineNum">     220 </span>            : 
<span class="lineNum">     221 </span>            : #ifdef __USE_GNU
<span class="lineNum">     222 </span>            : /* The concept of one static locale per category is not very well
<span class="lineNum">     223 </span>            :    thought out.  Many applications will need to process its data using
<span class="lineNum">     224 </span>            :    information from several different locales.  Another problem is
<span class="lineNum">     225 </span>            :    the implementation of the internationalization handling in the
<span class="lineNum">     226 </span>            :    ISO C++ standard library.  To support this another set of
<span class="lineNum">     227 </span>            :    the functions using locale data exist which take an additional
<span class="lineNum">     228 </span>            :    argument.
<span class="lineNum">     229 </span>            : 
<span class="lineNum">     230 </span>            :    Attention: even though several *_l interfaces are part of POSIX:2008,
<span class="lineNum">     231 </span>            :    these are not.  */
<span class="lineNum">     232 </span>            : 
<span class="lineNum">     233 </span>            : /* Structure for reentrant locale using functions.  This is an
<span class="lineNum">     234 </span>            :    (almost) opaque type for the user level programs.  */
<span class="lineNum">     235 </span>            : # include &lt;xlocale.h&gt;
<span class="lineNum">     236 </span>            : 
<span class="lineNum">     237 </span>            : /* Special versions of the functions above which take the locale to
<span class="lineNum">     238 </span>            :    use as an additional parameter.  */
<span class="lineNum">     239 </span>            : extern long int strtol_l (const char *__restrict __nptr,
<span class="lineNum">     240 </span>            :                           char **__restrict __endptr, int __base,
<span class="lineNum">     241 </span>            :                           __locale_t __loc) __THROW __nonnull ((1, 4));
<span class="lineNum">     242 </span>            : 
<span class="lineNum">     243 </span>            : extern unsigned long int strtoul_l (const char *__restrict __nptr,
<span class="lineNum">     244 </span>            :                                     char **__restrict __endptr,
<span class="lineNum">     245 </span>            :                                     int __base, __locale_t __loc)
<span class="lineNum">     246 </span>            :      __THROW __nonnull ((1, 4));
<span class="lineNum">     247 </span>            : 
<span class="lineNum">     248 </span>            : __extension__
<span class="lineNum">     249 </span>            : extern long long int strtoll_l (const char *__restrict __nptr,
<span class="lineNum">     250 </span>            :                                 char **__restrict __endptr, int __base,
<span class="lineNum">     251 </span>            :                                 __locale_t __loc)
<span class="lineNum">     252 </span>            :      __THROW __nonnull ((1, 4));
<span class="lineNum">     253 </span>            : 
<span class="lineNum">     254 </span>            : __extension__
<span class="lineNum">     255 </span>            : extern unsigned long long int strtoull_l (const char *__restrict __nptr,
<span class="lineNum">     256 </span>            :                                           char **__restrict __endptr,
<span class="lineNum">     257 </span>            :                                           int __base, __locale_t __loc)
<span class="lineNum">     258 </span>            :      __THROW __nonnull ((1, 4));
<span class="lineNum">     259 </span>            : 
<span class="lineNum">     260 </span>            : extern double strtod_l (const char *__restrict __nptr,
<span class="lineNum">     261 </span>            :                         char **__restrict __endptr, __locale_t __loc)
<span class="lineNum">     262 </span>            :      __THROW __nonnull ((1, 3));
<span class="lineNum">     263 </span>            : 
<span class="lineNum">     264 </span>            : extern float strtof_l (const char *__restrict __nptr,
<span class="lineNum">     265 </span>            :                        char **__restrict __endptr, __locale_t __loc)
<span class="lineNum">     266 </span>            :      __THROW __nonnull ((1, 3));
<span class="lineNum">     267 </span>            : 
<span class="lineNum">     268 </span>            : extern long double strtold_l (const char *__restrict __nptr,
<span class="lineNum">     269 </span>            :                               char **__restrict __endptr,
<span class="lineNum">     270 </span>            :                               __locale_t __loc)
<span class="lineNum">     271 </span>            :      __THROW __nonnull ((1, 3));
<span class="lineNum">     272 </span>            : #endif /* GNU */
<span class="lineNum">     273 </span>            : 
<span class="lineNum">     274 </span>            : 
<span class="lineNum">     275 </span>            : #ifdef __USE_EXTERN_INLINES
<span class="lineNum">     276 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     277 </span>            : __extern_inline int
<span class="lineNum">     278 </span>            : __NTH (atoi (const char *__nptr))
<span class="lineNum">     279 </span>            : {
<span class="lineNum">     280 </span><span class="lineNoCov">          0 :   return (int) strtol (__nptr, (char **) NULL, 10);</span>
<span class="lineNum">     281 </span>            : }
<span class="lineNum">     282 </span>            : __extern_inline long int
<span class="lineNum">     283 </span>            : __NTH (atol (const char *__nptr))
<span class="lineNum">     284 </span>            : {
<span class="lineNum">     285 </span>            :   return strtol (__nptr, (char **) NULL, 10);
<span class="lineNum">     286 </span>            : }
<span class="lineNum">     287 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     288 </span>            : 
<span class="lineNum">     289 </span>            : # ifdef __USE_ISOC99
<span class="lineNum">     290 </span>            : __BEGIN_NAMESPACE_C99
<span class="lineNum">     291 </span>            : __extension__ __extern_inline long long int
<span class="lineNum">     292 </span>            : __NTH (atoll (const char *__nptr))
<span class="lineNum">     293 </span>            : {
<span class="lineNum">     294 </span>            :   return strtoll (__nptr, (char **) NULL, 10);
<span class="lineNum">     295 </span>            : }
<span class="lineNum">     296 </span>            : __END_NAMESPACE_C99
<span class="lineNum">     297 </span>            : # endif
<span class="lineNum">     298 </span>            : #endif /* Optimizing and Inlining.  */
<span class="lineNum">     299 </span>            : 
<span class="lineNum">     300 </span>            : 
<span class="lineNum">     301 </span>            : #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
<span class="lineNum">     302 </span>            : /* Convert N to base 64 using the digits &quot;./0-9A-Za-z&quot;, least-significant
<span class="lineNum">     303 </span>            :    digit first.  Returns a pointer to static storage overwritten by the
<span class="lineNum">     304 </span>            :    next call.  */
<span class="lineNum">     305 </span>            : extern char *l64a (long int __n) __THROW __wur;
<span class="lineNum">     306 </span>            : 
<span class="lineNum">     307 </span>            : /* Read a number from a string S in base 64 as above.  */
<span class="lineNum">     308 </span>            : extern long int a64l (const char *__s)
<span class="lineNum">     309 </span>            :      __THROW __attribute_pure__ __nonnull ((1)) __wur;
<span class="lineNum">     310 </span>            : 
<span class="lineNum">     311 </span>            : #endif  /* Use misc || extended X/Open.  */
<span class="lineNum">     312 </span>            : 
<span class="lineNum">     313 </span>            : #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
<span class="lineNum">     314 </span>            : # include &lt;sys/types.h&gt;   /* we need int32_t... */
<span class="lineNum">     315 </span>            : 
<span class="lineNum">     316 </span>            : /* These are the functions that actually do things.  The `random', `srandom',
<span class="lineNum">     317 </span>            :    `initstate' and `setstate' functions are those from BSD Unices.
<span class="lineNum">     318 </span>            :    The `rand' and `srand' functions are required by the ANSI standard.
<span class="lineNum">     319 </span>            :    We provide both interfaces to the same random number generator.  */
<span class="lineNum">     320 </span>            : /* Return a random long integer between 0 and RAND_MAX inclusive.  */
<span class="lineNum">     321 </span>            : extern long int random (void) __THROW;
<span class="lineNum">     322 </span>            : 
<span class="lineNum">     323 </span>            : /* Seed the random number generator with the given number.  */
<span class="lineNum">     324 </span>            : extern void srandom (unsigned int __seed) __THROW;
<span class="lineNum">     325 </span>            : 
<span class="lineNum">     326 </span>            : /* Initialize the random number generator to use state buffer STATEBUF,
<span class="lineNum">     327 </span>            :    of length STATELEN, and seed it with SEED.  Optimal lengths are 8, 16,
<span class="lineNum">     328 </span>            :    32, 64, 128 and 256, the bigger the better; values less than 8 will
<span class="lineNum">     329 </span>            :    cause an error and values greater than 256 will be rounded down.  */
<span class="lineNum">     330 </span>            : extern char *initstate (unsigned int __seed, char *__statebuf,
<span class="lineNum">     331 </span>            :                         size_t __statelen) __THROW __nonnull ((2));
<span class="lineNum">     332 </span>            : 
<span class="lineNum">     333 </span>            : /* Switch the random number generator to state buffer STATEBUF,
<span class="lineNum">     334 </span>            :    which should have been previously initialized by `initstate'.  */
<span class="lineNum">     335 </span>            : extern char *setstate (char *__statebuf) __THROW __nonnull ((1));
<span class="lineNum">     336 </span>            : 
<span class="lineNum">     337 </span>            : 
<span class="lineNum">     338 </span>            : # ifdef __USE_MISC
<span class="lineNum">     339 </span>            : /* Reentrant versions of the `random' family of functions.
<span class="lineNum">     340 </span>            :    These functions all use the following data structure to contain
<span class="lineNum">     341 </span>            :    state, rather than global state variables.  */
<span class="lineNum">     342 </span>            : 
<span class="lineNum">     343 </span>            : struct random_data
<span class="lineNum">     344 </span>            :   {
<span class="lineNum">     345 </span>            :     int32_t *fptr;              /* Front pointer.  */
<span class="lineNum">     346 </span>            :     int32_t *rptr;              /* Rear pointer.  */
<span class="lineNum">     347 </span>            :     int32_t *state;             /* Array of state values.  */
<span class="lineNum">     348 </span>            :     int rand_type;              /* Type of random number generator.  */
<span class="lineNum">     349 </span>            :     int rand_deg;               /* Degree of random number generator.  */
<span class="lineNum">     350 </span>            :     int rand_sep;               /* Distance between front and rear.  */
<span class="lineNum">     351 </span>            :     int32_t *end_ptr;           /* Pointer behind state table.  */
<span class="lineNum">     352 </span>            :   };
<span class="lineNum">     353 </span>            : 
<span class="lineNum">     354 </span>            : extern int random_r (struct random_data *__restrict __buf,
<span class="lineNum">     355 </span>            :                      int32_t *__restrict __result) __THROW __nonnull ((1, 2));
<span class="lineNum">     356 </span>            : 
<span class="lineNum">     357 </span>            : extern int srandom_r (unsigned int __seed, struct random_data *__buf)
<span class="lineNum">     358 </span>            :      __THROW __nonnull ((2));
<span class="lineNum">     359 </span>            : 
<span class="lineNum">     360 </span>            : extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
<span class="lineNum">     361 </span>            :                         size_t __statelen,
<span class="lineNum">     362 </span>            :                         struct random_data *__restrict __buf)
<span class="lineNum">     363 </span>            :      __THROW __nonnull ((2, 4));
<span class="lineNum">     364 </span>            : 
<span class="lineNum">     365 </span>            : extern int setstate_r (char *__restrict __statebuf,
<span class="lineNum">     366 </span>            :                        struct random_data *__restrict __buf)
<span class="lineNum">     367 </span>            :      __THROW __nonnull ((1, 2));
<span class="lineNum">     368 </span>            : # endif /* Use misc.  */
<span class="lineNum">     369 </span>            : #endif  /* Use extended X/Open || misc. */
<span class="lineNum">     370 </span>            : 
<span class="lineNum">     371 </span>            : 
<span class="lineNum">     372 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     373 </span>            : /* Return a random integer between 0 and RAND_MAX inclusive.  */
<span class="lineNum">     374 </span>            : extern int rand (void) __THROW;
<span class="lineNum">     375 </span>            : /* Seed the random number generator with the given number.  */
<span class="lineNum">     376 </span>            : extern void srand (unsigned int __seed) __THROW;
<span class="lineNum">     377 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     378 </span>            : 
<span class="lineNum">     379 </span>            : #ifdef __USE_POSIX
<span class="lineNum">     380 </span>            : /* Reentrant interface according to POSIX.1.  */
<span class="lineNum">     381 </span>            : extern int rand_r (unsigned int *__seed) __THROW;
<span class="lineNum">     382 </span>            : #endif
<span class="lineNum">     383 </span>            : 
<span class="lineNum">     384 </span>            : 
<span class="lineNum">     385 </span>            : #if defined __USE_MISC || defined __USE_XOPEN
<span class="lineNum">     386 </span>            : /* System V style 48-bit random number generator functions.  */
<span class="lineNum">     387 </span>            : 
<span class="lineNum">     388 </span>            : /* Return non-negative, double-precision floating-point value in [0.0,1.0).  */
<span class="lineNum">     389 </span>            : extern double drand48 (void) __THROW;
<span class="lineNum">     390 </span>            : extern double erand48 (unsigned short int __xsubi[3]) __THROW __nonnull ((1));
<span class="lineNum">     391 </span>            : 
<span class="lineNum">     392 </span>            : /* Return non-negative, long integer in [0,2^31).  */
<span class="lineNum">     393 </span>            : extern long int lrand48 (void) __THROW;
<span class="lineNum">     394 </span>            : extern long int nrand48 (unsigned short int __xsubi[3])
<span class="lineNum">     395 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     396 </span>            : 
<span class="lineNum">     397 </span>            : /* Return signed, long integers in [-2^31,2^31).  */
<span class="lineNum">     398 </span>            : extern long int mrand48 (void) __THROW;
<span class="lineNum">     399 </span>            : extern long int jrand48 (unsigned short int __xsubi[3])
<span class="lineNum">     400 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     401 </span>            : 
<span class="lineNum">     402 </span>            : /* Seed random number generator.  */
<span class="lineNum">     403 </span>            : extern void srand48 (long int __seedval) __THROW;
<span class="lineNum">     404 </span>            : extern unsigned short int *seed48 (unsigned short int __seed16v[3])
<span class="lineNum">     405 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     406 </span>            : extern void lcong48 (unsigned short int __param[7]) __THROW __nonnull ((1));
<span class="lineNum">     407 </span>            : 
<span class="lineNum">     408 </span>            : # ifdef __USE_MISC
<span class="lineNum">     409 </span>            : /* Data structure for communication with thread safe versions.  This
<span class="lineNum">     410 </span>            :    type is to be regarded as opaque.  It's only exported because users
<span class="lineNum">     411 </span>            :    have to allocate objects of this type.  */
<span class="lineNum">     412 </span>            : struct drand48_data
<span class="lineNum">     413 </span>            :   {
<span class="lineNum">     414 </span>            :     unsigned short int __x[3];  /* Current state.  */
<span class="lineNum">     415 </span>            :     unsigned short int __old_x[3]; /* Old state.  */
<span class="lineNum">     416 </span>            :     unsigned short int __c;     /* Additive const. in congruential formula.  */
<span class="lineNum">     417 </span>            :     unsigned short int __init;  /* Flag for initializing.  */
<span class="lineNum">     418 </span>            :     __extension__ unsigned long long int __a;   /* Factor in congruential
<span class="lineNum">     419 </span>            :                                                    formula.  */
<span class="lineNum">     420 </span>            :   };
<span class="lineNum">     421 </span>            : 
<span class="lineNum">     422 </span>            : /* Return non-negative, double-precision floating-point value in [0.0,1.0).  */
<span class="lineNum">     423 </span>            : extern int drand48_r (struct drand48_data *__restrict __buffer,
<span class="lineNum">     424 </span>            :                       double *__restrict __result) __THROW __nonnull ((1, 2));
<span class="lineNum">     425 </span>            : extern int erand48_r (unsigned short int __xsubi[3],
<span class="lineNum">     426 </span>            :                       struct drand48_data *__restrict __buffer,
<span class="lineNum">     427 </span>            :                       double *__restrict __result) __THROW __nonnull ((1, 2));
<span class="lineNum">     428 </span>            : 
<span class="lineNum">     429 </span>            : /* Return non-negative, long integer in [0,2^31).  */
<span class="lineNum">     430 </span>            : extern int lrand48_r (struct drand48_data *__restrict __buffer,
<span class="lineNum">     431 </span>            :                       long int *__restrict __result)
<span class="lineNum">     432 </span>            :      __THROW __nonnull ((1, 2));
<span class="lineNum">     433 </span>            : extern int nrand48_r (unsigned short int __xsubi[3],
<span class="lineNum">     434 </span>            :                       struct drand48_data *__restrict __buffer,
<span class="lineNum">     435 </span>            :                       long int *__restrict __result)
<span class="lineNum">     436 </span>            :      __THROW __nonnull ((1, 2));
<span class="lineNum">     437 </span>            : 
<span class="lineNum">     438 </span>            : /* Return signed, long integers in [-2^31,2^31).  */
<span class="lineNum">     439 </span>            : extern int mrand48_r (struct drand48_data *__restrict __buffer,
<span class="lineNum">     440 </span>            :                       long int *__restrict __result)
<span class="lineNum">     441 </span>            :      __THROW __nonnull ((1, 2));
<span class="lineNum">     442 </span>            : extern int jrand48_r (unsigned short int __xsubi[3],
<span class="lineNum">     443 </span>            :                       struct drand48_data *__restrict __buffer,
<span class="lineNum">     444 </span>            :                       long int *__restrict __result)
<span class="lineNum">     445 </span>            :      __THROW __nonnull ((1, 2));
<span class="lineNum">     446 </span>            : 
<span class="lineNum">     447 </span>            : /* Seed random number generator.  */
<span class="lineNum">     448 </span>            : extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
<span class="lineNum">     449 </span>            :      __THROW __nonnull ((2));
<span class="lineNum">     450 </span>            : 
<span class="lineNum">     451 </span>            : extern int seed48_r (unsigned short int __seed16v[3],
<span class="lineNum">     452 </span>            :                      struct drand48_data *__buffer) __THROW __nonnull ((1, 2));
<span class="lineNum">     453 </span>            : 
<span class="lineNum">     454 </span>            : extern int lcong48_r (unsigned short int __param[7],
<span class="lineNum">     455 </span>            :                       struct drand48_data *__buffer)
<span class="lineNum">     456 </span>            :      __THROW __nonnull ((1, 2));
<span class="lineNum">     457 </span>            : # endif /* Use misc.  */
<span class="lineNum">     458 </span>            : #endif  /* Use misc or X/Open.  */
<span class="lineNum">     459 </span>            : 
<span class="lineNum">     460 </span>            : #endif /* don't just need malloc and calloc */
<span class="lineNum">     461 </span>            : 
<span class="lineNum">     462 </span>            : #ifndef __malloc_and_calloc_defined
<span class="lineNum">     463 </span>            : # define __malloc_and_calloc_defined
<span class="lineNum">     464 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     465 </span>            : /* Allocate SIZE bytes of memory.  */
<span class="lineNum">     466 </span>            : extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
<span class="lineNum">     467 </span>            : /* Allocate NMEMB elements of SIZE bytes each, all initialized to 0.  */
<span class="lineNum">     468 </span>            : extern void *calloc (size_t __nmemb, size_t __size)
<span class="lineNum">     469 </span>            :      __THROW __attribute_malloc__ __wur;
<span class="lineNum">     470 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     471 </span>            : #endif
<span class="lineNum">     472 </span>            : 
<span class="lineNum">     473 </span>            : #ifndef __need_malloc_and_calloc
<span class="lineNum">     474 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     475 </span>            : /* Re-allocate the previously allocated block
<span class="lineNum">     476 </span>            :    in PTR, making the new block SIZE bytes long.  */
<span class="lineNum">     477 </span>            : /* __attribute_malloc__ is not used, because if realloc returns
<span class="lineNum">     478 </span>            :    the same pointer that was passed to it, aliasing needs to be allowed
<span class="lineNum">     479 </span>            :    between objects pointed by the old and new pointers.  */
<span class="lineNum">     480 </span>            : extern void *realloc (void *__ptr, size_t __size)
<span class="lineNum">     481 </span>            :      __THROW __attribute_warn_unused_result__;
<span class="lineNum">     482 </span>            : /* Free a block allocated by `malloc', `realloc' or `calloc'.  */
<span class="lineNum">     483 </span>            : extern void free (void *__ptr) __THROW;
<span class="lineNum">     484 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     485 </span>            : 
<span class="lineNum">     486 </span>            : #ifdef  __USE_MISC
<span class="lineNum">     487 </span>            : /* Free a block.  An alias for `free'.  (Sun Unices).  */
<span class="lineNum">     488 </span>            : extern void cfree (void *__ptr) __THROW;
<span class="lineNum">     489 </span>            : #endif /* Use misc.  */
<span class="lineNum">     490 </span>            : 
<span class="lineNum">     491 </span>            : #ifdef __USE_MISC
<span class="lineNum">     492 </span>            : # include &lt;alloca.h&gt;
<span class="lineNum">     493 </span>            : #endif /* Use misc.  */
<span class="lineNum">     494 </span>            : 
<span class="lineNum">     495 </span>            : #if (defined __USE_XOPEN_EXTENDED &amp;&amp; !defined __USE_XOPEN2K) \
<span class="lineNum">     496 </span>            :     || defined __USE_MISC
<span class="lineNum">     497 </span>            : /* Allocate SIZE bytes on a page boundary.  The storage cannot be freed.  */
<span class="lineNum">     498 </span>            : extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
<span class="lineNum">     499 </span>            : #endif
<span class="lineNum">     500 </span>            : 
<span class="lineNum">     501 </span>            : #ifdef __USE_XOPEN2K
<span class="lineNum">     502 </span>            : /* Allocate memory of SIZE bytes with an alignment of ALIGNMENT.  */
<span class="lineNum">     503 </span>            : extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
<span class="lineNum">     504 </span>            :      __THROW __nonnull ((1)) __wur;
<span class="lineNum">     505 </span>            : #endif
<span class="lineNum">     506 </span>            : 
<span class="lineNum">     507 </span>            : #ifdef __USE_ISOC11
<span class="lineNum">     508 </span>            : /* ISO C variant of aligned allocation.  */
<span class="lineNum">     509 </span>            : extern void *aligned_alloc (size_t __alignment, size_t __size)
<span class="lineNum">     510 </span>            :      __THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur;
<span class="lineNum">     511 </span>            : #endif
<span class="lineNum">     512 </span>            : 
<span class="lineNum">     513 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     514 </span>            : /* Abort execution and generate a core-dump.  */
<span class="lineNum">     515 </span>            : extern void abort (void) __THROW __attribute__ ((__noreturn__));
<span class="lineNum">     516 </span>            : 
<span class="lineNum">     517 </span>            : 
<span class="lineNum">     518 </span>            : /* Register a function to be called when `exit' is called.  */
<span class="lineNum">     519 </span>            : extern int atexit (void (*__func) (void)) __THROW __nonnull ((1));
<span class="lineNum">     520 </span>            : 
<span class="lineNum">     521 </span>            : #if defined __USE_ISOC11 || defined __USE_ISOCXX11
<span class="lineNum">     522 </span>            : /* Register a function to be called when `quick_exit' is called.  */
<span class="lineNum">     523 </span>            : # ifdef __cplusplus
<span class="lineNum">     524 </span>            : extern &quot;C++&quot; int at_quick_exit (void (*__func) (void))
<span class="lineNum">     525 </span>            :      __THROW __asm (&quot;at_quick_exit&quot;) __nonnull ((1));
<span class="lineNum">     526 </span>            : # else
<span class="lineNum">     527 </span>            : extern int at_quick_exit (void (*__func) (void)) __THROW __nonnull ((1));
<span class="lineNum">     528 </span>            : # endif
<span class="lineNum">     529 </span>            : #endif
<span class="lineNum">     530 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     531 </span>            : 
<span class="lineNum">     532 </span>            : #ifdef  __USE_MISC
<span class="lineNum">     533 </span>            : /* Register a function to be called with the status
<span class="lineNum">     534 </span>            :    given to `exit' and the given argument.  */
<span class="lineNum">     535 </span>            : extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
<span class="lineNum">     536 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     537 </span>            : #endif
<span class="lineNum">     538 </span>            : 
<span class="lineNum">     539 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     540 </span>            : /* Call all functions registered with `atexit' and `on_exit',
<span class="lineNum">     541 </span>            :    in the reverse of the order in which they were registered,
<span class="lineNum">     542 </span>            :    perform stdio cleanup, and terminate program execution with STATUS.  */
<span class="lineNum">     543 </span>            : extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
<span class="lineNum">     544 </span>            : 
<span class="lineNum">     545 </span>            : #if defined __USE_ISOC11 || defined __USE_ISOCXX11
<span class="lineNum">     546 </span>            : /* Call all functions registered with `at_quick_exit' in the reverse
<span class="lineNum">     547 </span>            :    of the order in which they were registered and terminate program
<span class="lineNum">     548 </span>            :    execution with STATUS.  */
<span class="lineNum">     549 </span>            : extern void quick_exit (int __status) __THROW __attribute__ ((__noreturn__));
<span class="lineNum">     550 </span>            : #endif
<span class="lineNum">     551 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     552 </span>            : 
<span class="lineNum">     553 </span>            : #ifdef __USE_ISOC99
<span class="lineNum">     554 </span>            : __BEGIN_NAMESPACE_C99
<span class="lineNum">     555 </span>            : /* Terminate the program with STATUS without calling any of the
<span class="lineNum">     556 </span>            :    functions registered with `atexit' or `on_exit'.  */
<span class="lineNum">     557 </span>            : extern void _Exit (int __status) __THROW __attribute__ ((__noreturn__));
<span class="lineNum">     558 </span>            : __END_NAMESPACE_C99
<span class="lineNum">     559 </span>            : #endif
<span class="lineNum">     560 </span>            : 
<span class="lineNum">     561 </span>            : 
<span class="lineNum">     562 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     563 </span>            : /* Return the value of envariable NAME, or NULL if it doesn't exist.  */
<span class="lineNum">     564 </span>            : extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur;
<span class="lineNum">     565 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     566 </span>            : 
<span class="lineNum">     567 </span>            : #ifdef __USE_GNU
<span class="lineNum">     568 </span>            : /* This function is similar to the above but returns NULL if the
<span class="lineNum">     569 </span>            :    programs is running with SUID or SGID enabled.  */
<span class="lineNum">     570 </span>            : extern char *secure_getenv (const char *__name)
<span class="lineNum">     571 </span>            :      __THROW __nonnull ((1)) __wur;
<span class="lineNum">     572 </span>            : #endif
<span class="lineNum">     573 </span>            : 
<span class="lineNum">     574 </span>            : #if defined __USE_MISC || defined __USE_XOPEN
<span class="lineNum">     575 </span>            : /* The SVID says this is in &lt;stdio.h&gt;, but this seems a better place.     */
<span class="lineNum">     576 </span>            : /* Put STRING, which is of the form &quot;NAME=VALUE&quot;, in the environment.
<span class="lineNum">     577 </span>            :    If there is no `=', remove NAME from the environment.  */
<span class="lineNum">     578 </span>            : extern int putenv (char *__string) __THROW __nonnull ((1));
<span class="lineNum">     579 </span>            : #endif
<span class="lineNum">     580 </span>            : 
<span class="lineNum">     581 </span>            : #ifdef __USE_XOPEN2K
<span class="lineNum">     582 </span>            : /* Set NAME to VALUE in the environment.
<span class="lineNum">     583 </span>            :    If REPLACE is nonzero, overwrite an existing value.  */
<span class="lineNum">     584 </span>            : extern int setenv (const char *__name, const char *__value, int __replace)
<span class="lineNum">     585 </span>            :      __THROW __nonnull ((2));
<span class="lineNum">     586 </span>            : 
<span class="lineNum">     587 </span>            : /* Remove the variable NAME from the environment.  */
<span class="lineNum">     588 </span>            : extern int unsetenv (const char *__name) __THROW __nonnull ((1));
<span class="lineNum">     589 </span>            : #endif
<span class="lineNum">     590 </span>            : 
<span class="lineNum">     591 </span>            : #ifdef  __USE_MISC
<span class="lineNum">     592 </span>            : /* The `clearenv' was planned to be added to POSIX.1 but probably
<span class="lineNum">     593 </span>            :    never made it.  Nevertheless the POSIX.9 standard (POSIX bindings
<span class="lineNum">     594 </span>            :    for Fortran 77) requires this function.  */
<span class="lineNum">     595 </span>            : extern int clearenv (void) __THROW;
<span class="lineNum">     596 </span>            : #endif
<span class="lineNum">     597 </span>            : 
<span class="lineNum">     598 </span>            : 
<span class="lineNum">     599 </span>            : #if defined __USE_MISC \
<span class="lineNum">     600 </span>            :     || (defined __USE_XOPEN_EXTENDED &amp;&amp; !defined __USE_XOPEN2K8)
<span class="lineNum">     601 </span>            : /* Generate a unique temporary file name from TEMPLATE.
<span class="lineNum">     602 </span>            :    The last six characters of TEMPLATE must be &quot;XXXXXX&quot;;
<span class="lineNum">     603 </span>            :    they are replaced with a string that makes the file name unique.
<span class="lineNum">     604 </span>            :    Always returns TEMPLATE, it's either a temporary file name or a null
<span class="lineNum">     605 </span>            :    string if it cannot get a unique file name.  */
<span class="lineNum">     606 </span>            : extern char *mktemp (char *__template) __THROW __nonnull ((1));
<span class="lineNum">     607 </span>            : #endif
<span class="lineNum">     608 </span>            : 
<span class="lineNum">     609 </span>            : #if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
<span class="lineNum">     610 </span>            : /* Generate a unique temporary file name from TEMPLATE.
<span class="lineNum">     611 </span>            :    The last six characters of TEMPLATE must be &quot;XXXXXX&quot;;
<span class="lineNum">     612 </span>            :    they are replaced with a string that makes the filename unique.
<span class="lineNum">     613 </span>            :    Returns a file descriptor open on the file for reading and writing,
<span class="lineNum">     614 </span>            :    or -1 if it cannot create a uniquely-named file.
<span class="lineNum">     615 </span>            : 
<span class="lineNum">     616 </span>            :    This function is a possible cancellation point and therefore not
<span class="lineNum">     617 </span>            :    marked with __THROW.  */
<span class="lineNum">     618 </span>            : # ifndef __USE_FILE_OFFSET64
<span class="lineNum">     619 </span>            : extern int mkstemp (char *__template) __nonnull ((1)) __wur;
<span class="lineNum">     620 </span>            : # else
<span class="lineNum">     621 </span>            : #  ifdef __REDIRECT
<span class="lineNum">     622 </span>            : extern int __REDIRECT (mkstemp, (char *__template), mkstemp64)
<span class="lineNum">     623 </span>            :      __nonnull ((1)) __wur;
<span class="lineNum">     624 </span>            : #  else
<span class="lineNum">     625 </span>            : #   define mkstemp mkstemp64
<span class="lineNum">     626 </span>            : #  endif
<span class="lineNum">     627 </span>            : # endif
<span class="lineNum">     628 </span>            : # ifdef __USE_LARGEFILE64
<span class="lineNum">     629 </span>            : extern int mkstemp64 (char *__template) __nonnull ((1)) __wur;
<span class="lineNum">     630 </span>            : # endif
<span class="lineNum">     631 </span>            : #endif
<span class="lineNum">     632 </span>            : 
<span class="lineNum">     633 </span>            : #ifdef __USE_MISC
<span class="lineNum">     634 </span>            : /* Similar to mkstemp, but the template can have a suffix after the
<span class="lineNum">     635 </span>            :    XXXXXX.  The length of the suffix is specified in the second
<span class="lineNum">     636 </span>            :    parameter.
<span class="lineNum">     637 </span>            : 
<span class="lineNum">     638 </span>            :    This function is a possible cancellation point and therefore not
<span class="lineNum">     639 </span>            :    marked with __THROW.  */
<span class="lineNum">     640 </span>            : # ifndef __USE_FILE_OFFSET64
<span class="lineNum">     641 </span>            : extern int mkstemps (char *__template, int __suffixlen) __nonnull ((1)) __wur;
<span class="lineNum">     642 </span>            : # else
<span class="lineNum">     643 </span>            : #  ifdef __REDIRECT
<span class="lineNum">     644 </span>            : extern int __REDIRECT (mkstemps, (char *__template, int __suffixlen),
<span class="lineNum">     645 </span>            :                        mkstemps64) __nonnull ((1)) __wur;
<span class="lineNum">     646 </span>            : #  else
<span class="lineNum">     647 </span>            : #   define mkstemps mkstemps64
<span class="lineNum">     648 </span>            : #  endif
<span class="lineNum">     649 </span>            : # endif
<span class="lineNum">     650 </span>            : # ifdef __USE_LARGEFILE64
<span class="lineNum">     651 </span>            : extern int mkstemps64 (char *__template, int __suffixlen)
<span class="lineNum">     652 </span>            :      __nonnull ((1)) __wur;
<span class="lineNum">     653 </span>            : # endif
<span class="lineNum">     654 </span>            : #endif
<span class="lineNum">     655 </span>            : 
<span class="lineNum">     656 </span>            : #ifdef __USE_XOPEN2K8
<span class="lineNum">     657 </span>            : /* Create a unique temporary directory from TEMPLATE.
<span class="lineNum">     658 </span>            :    The last six characters of TEMPLATE must be &quot;XXXXXX&quot;;
<span class="lineNum">     659 </span>            :    they are replaced with a string that makes the directory name unique.
<span class="lineNum">     660 </span>            :    Returns TEMPLATE, or a null pointer if it cannot get a unique name.
<span class="lineNum">     661 </span>            :    The directory is created mode 700.  */
<span class="lineNum">     662 </span>            : extern char *mkdtemp (char *__template) __THROW __nonnull ((1)) __wur;
<span class="lineNum">     663 </span>            : #endif
<span class="lineNum">     664 </span>            : 
<span class="lineNum">     665 </span>            : #ifdef __USE_GNU
<span class="lineNum">     666 </span>            : /* Generate a unique temporary file name from TEMPLATE similar to
<span class="lineNum">     667 </span>            :    mkstemp.  But allow the caller to pass additional flags which are
<span class="lineNum">     668 </span>            :    used in the open call to create the file..
<span class="lineNum">     669 </span>            : 
<span class="lineNum">     670 </span>            :    This function is a possible cancellation point and therefore not
<span class="lineNum">     671 </span>            :    marked with __THROW.  */
<span class="lineNum">     672 </span>            : # ifndef __USE_FILE_OFFSET64
<span class="lineNum">     673 </span>            : extern int mkostemp (char *__template, int __flags) __nonnull ((1)) __wur;
<span class="lineNum">     674 </span>            : # else
<span class="lineNum">     675 </span>            : #  ifdef __REDIRECT
<span class="lineNum">     676 </span>            : extern int __REDIRECT (mkostemp, (char *__template, int __flags), mkostemp64)
<span class="lineNum">     677 </span>            :      __nonnull ((1)) __wur;
<span class="lineNum">     678 </span>            : #  else
<span class="lineNum">     679 </span>            : #   define mkostemp mkostemp64
<span class="lineNum">     680 </span>            : #  endif
<span class="lineNum">     681 </span>            : # endif
<span class="lineNum">     682 </span>            : # ifdef __USE_LARGEFILE64
<span class="lineNum">     683 </span>            : extern int mkostemp64 (char *__template, int __flags) __nonnull ((1)) __wur;
<span class="lineNum">     684 </span>            : # endif
<span class="lineNum">     685 </span>            : 
<span class="lineNum">     686 </span>            : /* Similar to mkostemp, but the template can have a suffix after the
<span class="lineNum">     687 </span>            :    XXXXXX.  The length of the suffix is specified in the second
<span class="lineNum">     688 </span>            :    parameter.
<span class="lineNum">     689 </span>            : 
<span class="lineNum">     690 </span>            :    This function is a possible cancellation point and therefore not
<span class="lineNum">     691 </span>            :    marked with __THROW.  */
<span class="lineNum">     692 </span>            : # ifndef __USE_FILE_OFFSET64
<span class="lineNum">     693 </span>            : extern int mkostemps (char *__template, int __suffixlen, int __flags)
<span class="lineNum">     694 </span>            :      __nonnull ((1)) __wur;
<span class="lineNum">     695 </span>            : # else
<span class="lineNum">     696 </span>            : #  ifdef __REDIRECT
<span class="lineNum">     697 </span>            : extern int __REDIRECT (mkostemps, (char *__template, int __suffixlen,
<span class="lineNum">     698 </span>            :                                    int __flags), mkostemps64)
<span class="lineNum">     699 </span>            :      __nonnull ((1)) __wur;
<span class="lineNum">     700 </span>            : #  else
<span class="lineNum">     701 </span>            : #   define mkostemps mkostemps64
<span class="lineNum">     702 </span>            : #  endif
<span class="lineNum">     703 </span>            : # endif
<span class="lineNum">     704 </span>            : # ifdef __USE_LARGEFILE64
<span class="lineNum">     705 </span>            : extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
<span class="lineNum">     706 </span>            :      __nonnull ((1)) __wur;
<span class="lineNum">     707 </span>            : # endif
<span class="lineNum">     708 </span>            : #endif
<span class="lineNum">     709 </span>            : 
<span class="lineNum">     710 </span>            : 
<span class="lineNum">     711 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     712 </span>            : /* Execute the given line as a shell command.
<span class="lineNum">     713 </span>            : 
<span class="lineNum">     714 </span>            :    This function is a cancellation point and therefore not marked with
<span class="lineNum">     715 </span>            :    __THROW.  */
<span class="lineNum">     716 </span>            : extern int system (const char *__command) __wur;
<span class="lineNum">     717 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     718 </span>            : 
<span class="lineNum">     719 </span>            : 
<span class="lineNum">     720 </span>            : #ifdef  __USE_GNU
<span class="lineNum">     721 </span>            : /* Return a malloc'd string containing the canonical absolute name of the
<span class="lineNum">     722 </span>            :    existing named file.  */
<span class="lineNum">     723 </span>            : extern char *canonicalize_file_name (const char *__name)
<span class="lineNum">     724 </span>            :      __THROW __nonnull ((1)) __wur;
<span class="lineNum">     725 </span>            : #endif
<span class="lineNum">     726 </span>            : 
<span class="lineNum">     727 </span>            : #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
<span class="lineNum">     728 </span>            : /* Return the canonical absolute name of file NAME.  If RESOLVED is
<span class="lineNum">     729 </span>            :    null, the result is malloc'd; otherwise, if the canonical name is
<span class="lineNum">     730 </span>            :    PATH_MAX chars or more, returns null with `errno' set to
<span class="lineNum">     731 </span>            :    ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars,
<span class="lineNum">     732 </span>            :    returns the name in RESOLVED.  */
<span class="lineNum">     733 </span>            : extern char *realpath (const char *__restrict __name,
<span class="lineNum">     734 </span>            :                        char *__restrict __resolved) __THROW __wur;
<span class="lineNum">     735 </span>            : #endif
<span class="lineNum">     736 </span>            : 
<span class="lineNum">     737 </span>            : 
<span class="lineNum">     738 </span>            : /* Shorthand for type of comparison functions.  */
<span class="lineNum">     739 </span>            : #ifndef __COMPAR_FN_T
<span class="lineNum">     740 </span>            : # define __COMPAR_FN_T
<span class="lineNum">     741 </span>            : typedef int (*__compar_fn_t) (const void *, const void *);
<span class="lineNum">     742 </span>            : 
<span class="lineNum">     743 </span>            : # ifdef __USE_GNU
<span class="lineNum">     744 </span>            : typedef __compar_fn_t comparison_fn_t;
<span class="lineNum">     745 </span>            : # endif
<span class="lineNum">     746 </span>            : #endif
<span class="lineNum">     747 </span>            : #ifdef __USE_GNU
<span class="lineNum">     748 </span>            : typedef int (*__compar_d_fn_t) (const void *, const void *, void *);
<span class="lineNum">     749 </span>            : #endif
<span class="lineNum">     750 </span>            : 
<span class="lineNum">     751 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     752 </span>            : /* Do a binary search for KEY in BASE, which consists of NMEMB elements
<span class="lineNum">     753 </span>            :    of SIZE bytes each, using COMPAR to perform the comparisons.  */
<span class="lineNum">     754 </span>            : extern void *bsearch (const void *__key, const void *__base,
<span class="lineNum">     755 </span>            :                       size_t __nmemb, size_t __size, __compar_fn_t __compar)
<span class="lineNum">     756 </span>            :      __nonnull ((1, 2, 5)) __wur;
<span class="lineNum">     757 </span>            : 
<span class="lineNum">     758 </span>            : #ifdef __USE_EXTERN_INLINES
<span class="lineNum">     759 </span>            : # include &lt;bits/stdlib-bsearch.h&gt;
<span class="lineNum">     760 </span>            : #endif
<span class="lineNum">     761 </span>            : 
<span class="lineNum">     762 </span>            : /* Sort NMEMB elements of BASE, of SIZE bytes each,
<span class="lineNum">     763 </span>            :    using COMPAR to perform the comparisons.  */
<span class="lineNum">     764 </span>            : extern void qsort (void *__base, size_t __nmemb, size_t __size,
<span class="lineNum">     765 </span>            :                    __compar_fn_t __compar) __nonnull ((1, 4));
<span class="lineNum">     766 </span>            : #ifdef __USE_GNU
<span class="lineNum">     767 </span>            : extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
<span class="lineNum">     768 </span>            :                      __compar_d_fn_t __compar, void *__arg)
<span class="lineNum">     769 </span>            :   __nonnull ((1, 4));
<span class="lineNum">     770 </span>            : #endif
<span class="lineNum">     771 </span>            : 
<span class="lineNum">     772 </span>            : 
<span class="lineNum">     773 </span>            : /* Return the absolute value of X.  */
<span class="lineNum">     774 </span>            : extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
<span class="lineNum">     775 </span>            : extern long int labs (long int __x) __THROW __attribute__ ((__const__)) __wur;
<span class="lineNum">     776 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     777 </span>            : 
<span class="lineNum">     778 </span>            : #ifdef __USE_ISOC99
<span class="lineNum">     779 </span>            : __extension__ extern long long int llabs (long long int __x)
<span class="lineNum">     780 </span>            :      __THROW __attribute__ ((__const__)) __wur;
<span class="lineNum">     781 </span>            : #endif
<span class="lineNum">     782 </span>            : 
<span class="lineNum">     783 </span>            : 
<span class="lineNum">     784 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     785 </span>            : /* Return the `div_t', `ldiv_t' or `lldiv_t' representation
<span class="lineNum">     786 </span>            :    of the value of NUMER over DENOM. */
<span class="lineNum">     787 </span>            : /* GCC may have built-ins for these someday.  */
<span class="lineNum">     788 </span>            : extern div_t div (int __numer, int __denom)
<span class="lineNum">     789 </span>            :      __THROW __attribute__ ((__const__)) __wur;
<span class="lineNum">     790 </span>            : extern ldiv_t ldiv (long int __numer, long int __denom)
<span class="lineNum">     791 </span>            :      __THROW __attribute__ ((__const__)) __wur;
<span class="lineNum">     792 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     793 </span>            : 
<span class="lineNum">     794 </span>            : #ifdef __USE_ISOC99
<span class="lineNum">     795 </span>            : __BEGIN_NAMESPACE_C99
<span class="lineNum">     796 </span>            : __extension__ extern lldiv_t lldiv (long long int __numer,
<span class="lineNum">     797 </span>            :                                     long long int __denom)
<span class="lineNum">     798 </span>            :      __THROW __attribute__ ((__const__)) __wur;
<span class="lineNum">     799 </span>            : __END_NAMESPACE_C99
<span class="lineNum">     800 </span>            : #endif
<span class="lineNum">     801 </span>            : 
<span class="lineNum">     802 </span>            : 
<span class="lineNum">     803 </span>            : #if (defined __USE_XOPEN_EXTENDED &amp;&amp; !defined __USE_XOPEN2K8) \
<span class="lineNum">     804 </span>            :     || defined __USE_MISC
<span class="lineNum">     805 </span>            : /* Convert floating point numbers to strings.  The returned values are
<span class="lineNum">     806 </span>            :    valid only until another call to the same function.  */
<span class="lineNum">     807 </span>            : 
<span class="lineNum">     808 </span>            : /* Convert VALUE to a string with NDIGIT digits and return a pointer to
<span class="lineNum">     809 </span>            :    this.  Set *DECPT with the position of the decimal character and *SIGN
<span class="lineNum">     810 </span>            :    with the sign of the number.  */
<span class="lineNum">     811 </span>            : extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
<span class="lineNum">     812 </span>            :                    int *__restrict __sign) __THROW __nonnull ((3, 4)) __wur;
<span class="lineNum">     813 </span>            : 
<span class="lineNum">     814 </span>            : /* Convert VALUE to a string rounded to NDIGIT decimal digits.  Set *DECPT
<span class="lineNum">     815 </span>            :    with the position of the decimal character and *SIGN with the sign of
<span class="lineNum">     816 </span>            :    the number.  */
<span class="lineNum">     817 </span>            : extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
<span class="lineNum">     818 </span>            :                    int *__restrict __sign) __THROW __nonnull ((3, 4)) __wur;
<span class="lineNum">     819 </span>            : 
<span class="lineNum">     820 </span>            : /* If possible convert VALUE to a string with NDIGIT significant digits.
<span class="lineNum">     821 </span>            :    Otherwise use exponential representation.  The resulting string will
<span class="lineNum">     822 </span>            :    be written to BUF.  */
<span class="lineNum">     823 </span>            : extern char *gcvt (double __value, int __ndigit, char *__buf)
<span class="lineNum">     824 </span>            :      __THROW __nonnull ((3)) __wur;
<span class="lineNum">     825 </span>            : #endif
<span class="lineNum">     826 </span>            : 
<span class="lineNum">     827 </span>            : #ifdef __USE_MISC
<span class="lineNum">     828 </span>            : /* Long double versions of above functions.  */
<span class="lineNum">     829 </span>            : extern char *qecvt (long double __value, int __ndigit,
<span class="lineNum">     830 </span>            :                     int *__restrict __decpt, int *__restrict __sign)
<span class="lineNum">     831 </span>            :      __THROW __nonnull ((3, 4)) __wur;
<span class="lineNum">     832 </span>            : extern char *qfcvt (long double __value, int __ndigit,
<span class="lineNum">     833 </span>            :                     int *__restrict __decpt, int *__restrict __sign)
<span class="lineNum">     834 </span>            :      __THROW __nonnull ((3, 4)) __wur;
<span class="lineNum">     835 </span>            : extern char *qgcvt (long double __value, int __ndigit, char *__buf)
<span class="lineNum">     836 </span>            :      __THROW __nonnull ((3)) __wur;
<span class="lineNum">     837 </span>            : 
<span class="lineNum">     838 </span>            : 
<span class="lineNum">     839 </span>            : /* Reentrant version of the functions above which provide their own
<span class="lineNum">     840 </span>            :    buffers.  */
<span class="lineNum">     841 </span>            : extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
<span class="lineNum">     842 </span>            :                    int *__restrict __sign, char *__restrict __buf,
<span class="lineNum">     843 </span>            :                    size_t __len) __THROW __nonnull ((3, 4, 5));
<span class="lineNum">     844 </span>            : extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
<span class="lineNum">     845 </span>            :                    int *__restrict __sign, char *__restrict __buf,
<span class="lineNum">     846 </span>            :                    size_t __len) __THROW __nonnull ((3, 4, 5));
<span class="lineNum">     847 </span>            : 
<span class="lineNum">     848 </span>            : extern int qecvt_r (long double __value, int __ndigit,
<span class="lineNum">     849 </span>            :                     int *__restrict __decpt, int *__restrict __sign,
<span class="lineNum">     850 </span>            :                     char *__restrict __buf, size_t __len)
<span class="lineNum">     851 </span>            :      __THROW __nonnull ((3, 4, 5));
<span class="lineNum">     852 </span>            : extern int qfcvt_r (long double __value, int __ndigit,
<span class="lineNum">     853 </span>            :                     int *__restrict __decpt, int *__restrict __sign,
<span class="lineNum">     854 </span>            :                     char *__restrict __buf, size_t __len)
<span class="lineNum">     855 </span>            :      __THROW __nonnull ((3, 4, 5));
<span class="lineNum">     856 </span>            : #endif  /* misc */
<span class="lineNum">     857 </span>            : 
<span class="lineNum">     858 </span>            : 
<span class="lineNum">     859 </span>            : __BEGIN_NAMESPACE_STD
<span class="lineNum">     860 </span>            : /* Return the length of the multibyte character
<span class="lineNum">     861 </span>            :    in S, which is no longer than N.  */
<span class="lineNum">     862 </span>            : extern int mblen (const char *__s, size_t __n) __THROW;
<span class="lineNum">     863 </span>            : /* Return the length of the given multibyte character,
<span class="lineNum">     864 </span>            :    putting its `wchar_t' representation in *PWC.  */
<span class="lineNum">     865 </span>            : extern int mbtowc (wchar_t *__restrict __pwc,
<span class="lineNum">     866 </span>            :                    const char *__restrict __s, size_t __n) __THROW;
<span class="lineNum">     867 </span>            : /* Put the multibyte character represented
<span class="lineNum">     868 </span>            :    by WCHAR in S, returning its length.  */
<span class="lineNum">     869 </span>            : extern int wctomb (char *__s, wchar_t __wchar) __THROW;
<span class="lineNum">     870 </span>            : 
<span class="lineNum">     871 </span>            : 
<span class="lineNum">     872 </span>            : /* Convert a multibyte string to a wide char string.  */
<span class="lineNum">     873 </span>            : extern size_t mbstowcs (wchar_t *__restrict  __pwcs,
<span class="lineNum">     874 </span>            :                         const char *__restrict __s, size_t __n) __THROW;
<span class="lineNum">     875 </span>            : /* Convert a wide char string to multibyte string.  */
<span class="lineNum">     876 </span>            : extern size_t wcstombs (char *__restrict __s,
<span class="lineNum">     877 </span>            :                         const wchar_t *__restrict __pwcs, size_t __n)
<span class="lineNum">     878 </span>            :      __THROW;
<span class="lineNum">     879 </span>            : __END_NAMESPACE_STD
<span class="lineNum">     880 </span>            : 
<span class="lineNum">     881 </span>            : 
<span class="lineNum">     882 </span>            : #ifdef __USE_MISC
<span class="lineNum">     883 </span>            : /* Determine whether the string value of RESPONSE matches the affirmation
<span class="lineNum">     884 </span>            :    or negative response expression as specified by the LC_MESSAGES category
<span class="lineNum">     885 </span>            :    in the program's current locale.  Returns 1 if affirmative, 0 if
<span class="lineNum">     886 </span>            :    negative, and -1 if not matching.  */
<span class="lineNum">     887 </span>            : extern int rpmatch (const char *__response) __THROW __nonnull ((1)) __wur;
<span class="lineNum">     888 </span>            : #endif
<span class="lineNum">     889 </span>            : 
<span class="lineNum">     890 </span>            : 
<span class="lineNum">     891 </span>            : #if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
<span class="lineNum">     892 </span>            : /* Parse comma separated suboption from *OPTIONP and match against
<span class="lineNum">     893 </span>            :    strings in TOKENS.  If found return index and set *VALUEP to
<span class="lineNum">     894 </span>            :    optional value introduced by an equal sign.  If the suboption is
<span class="lineNum">     895 </span>            :    not part of TOKENS return in *VALUEP beginning of unknown
<span class="lineNum">     896 </span>            :    suboption.  On exit *OPTIONP is set to the beginning of the next
<span class="lineNum">     897 </span>            :    token or at the terminating NUL character.  */
<span class="lineNum">     898 </span>            : extern int getsubopt (char **__restrict __optionp,
<span class="lineNum">     899 </span>            :                       char *const *__restrict __tokens,
<span class="lineNum">     900 </span>            :                       char **__restrict __valuep)
<span class="lineNum">     901 </span>            :      __THROW __nonnull ((1, 2, 3)) __wur;
<span class="lineNum">     902 </span>            : #endif
<span class="lineNum">     903 </span>            : 
<span class="lineNum">     904 </span>            : 
<span class="lineNum">     905 </span>            : #ifdef __USE_XOPEN
<span class="lineNum">     906 </span>            : /* Setup DES tables according KEY.  */
<span class="lineNum">     907 </span>            : extern void setkey (const char *__key) __THROW __nonnull ((1));
<span class="lineNum">     908 </span>            : #endif
<span class="lineNum">     909 </span>            : 
<span class="lineNum">     910 </span>            : 
<span class="lineNum">     911 </span>            : /* X/Open pseudo terminal handling.  */
<span class="lineNum">     912 </span>            : 
<span class="lineNum">     913 </span>            : #ifdef __USE_XOPEN2KXSI
<span class="lineNum">     914 </span>            : /* Return a master pseudo-terminal handle.  */
<span class="lineNum">     915 </span>            : extern int posix_openpt (int __oflag) __wur;
<span class="lineNum">     916 </span>            : #endif
<span class="lineNum">     917 </span>            : 
<span class="lineNum">     918 </span>            : #ifdef __USE_XOPEN
<span class="lineNum">     919 </span>            : /* The next four functions all take a master pseudo-tty fd and
<span class="lineNum">     920 </span>            :    perform an operation on the associated slave:  */
<span class="lineNum">     921 </span>            : 
<span class="lineNum">     922 </span>            : /* Chown the slave to the calling user.  */
<span class="lineNum">     923 </span>            : extern int grantpt (int __fd) __THROW;
<span class="lineNum">     924 </span>            : 
<span class="lineNum">     925 </span>            : /* Release an internal lock so the slave can be opened.
<span class="lineNum">     926 </span>            :    Call after grantpt().  */
<span class="lineNum">     927 </span>            : extern int unlockpt (int __fd) __THROW;
<span class="lineNum">     928 </span>            : 
<span class="lineNum">     929 </span>            : /* Return the pathname of the pseudo terminal slave associated with
<span class="lineNum">     930 </span>            :    the master FD is open on, or NULL on errors.
<span class="lineNum">     931 </span>            :    The returned storage is good until the next call to this function.  */
<span class="lineNum">     932 </span>            : extern char *ptsname (int __fd) __THROW __wur;
<span class="lineNum">     933 </span>            : #endif
<span class="lineNum">     934 </span>            : 
<span class="lineNum">     935 </span>            : #ifdef __USE_GNU
<span class="lineNum">     936 </span>            : /* Store at most BUFLEN characters of the pathname of the slave pseudo
<span class="lineNum">     937 </span>            :    terminal associated with the master FD is open on in BUF.
<span class="lineNum">     938 </span>            :    Return 0 on success, otherwise an error number.  */
<span class="lineNum">     939 </span>            : extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
<span class="lineNum">     940 </span>            :      __THROW __nonnull ((2));
<span class="lineNum">     941 </span>            : 
<span class="lineNum">     942 </span>            : /* Open a master pseudo terminal and return its file descriptor.  */
<span class="lineNum">     943 </span>            : extern int getpt (void);
<span class="lineNum">     944 </span>            : #endif
<span class="lineNum">     945 </span>            : 
<span class="lineNum">     946 </span>            : #ifdef __USE_MISC
<span class="lineNum">     947 </span>            : /* Put the 1 minute, 5 minute and 15 minute load averages into the first
<span class="lineNum">     948 </span>            :    NELEM elements of LOADAVG.  Return the number written (never more than
<span class="lineNum">     949 </span>            :    three, but may be less than NELEM), or -1 if an error occurred.  */
<span class="lineNum">     950 </span>            : extern int getloadavg (double __loadavg[], int __nelem)
<span class="lineNum">     951 </span>            :      __THROW __nonnull ((1));
<span class="lineNum">     952 </span>            : #endif
<span class="lineNum">     953 </span>            : 
<span class="lineNum">     954 </span>            : #include &lt;bits/stdlib-float.h&gt;
<span class="lineNum">     955 </span>            : 
<span class="lineNum">     956 </span>            : /* Define some macros helping to catch buffer overflows.  */
<span class="lineNum">     957 </span>            : #if __USE_FORTIFY_LEVEL &gt; 0 &amp;&amp; defined __fortify_function
<span class="lineNum">     958 </span>            : # include &lt;bits/stdlib.h&gt;
<span class="lineNum">     959 </span>            : #endif
<span class="lineNum">     960 </span>            : #ifdef __LDBL_COMPAT
<span class="lineNum">     961 </span>            : # include &lt;bits/stdlib-ldbl.h&gt;
<span class="lineNum">     962 </span>            : #endif
<span class="lineNum">     963 </span>            : 
<span class="lineNum">     964 </span>            : #endif /* don't just need malloc and calloc */
<span class="lineNum">     965 </span>            : #undef __need_malloc_and_calloc
<span class="lineNum">     966 </span>            : 
<span class="lineNum">     967 </span>            : __END_DECLS
<span class="lineNum">     968 </span>            : 
<span class="lineNum">     969 </span>            : #endif /* stdlib.h  */
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="ruler"><img src="../../glass.png" width=3 height=3 alt=""></td></tr>
    <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LCOV version 1.12</a></td></tr>
  </table>
  <br>

</body>
</html>
